'use strict'

const {dev} = require('./dev.env');
const {build} = require('./prod.env');
const path = require('path');

module.exports = {
  assetsRoot: path.resolve(__dirname, '../../dist'),
  assetsSubDirectory: 'static',//静态资源的路径
  buildPath:'dist',//生产环境代码文件夹名称
  pages:'webinf/jsp',//页面路径
  tpltype:'.jsp',//模板的后缀名称
  html:false,//生成的文件名是否是html
  //反代理的地址
  ctx:'${pageContext.request.contextPath}/Contents/openplatform',//init.jsp中ctx的值
  DefinePlugin:{
    basePath:'/InterfacePlatform/'
  },
  dev: dev,
  build:build
}
